package com.hb.trans.mvp.model

import com.basiclib.base.BaseModel
import com.hb.trans.api.EndPoints
import com.hb.trans.bean.Base
import com.hb.trans.bean.HomeList
import com.hb.trans.mvp.contract.HomeContract
import io.reactivex.Observable
import javax.inject.Inject

class HomeModel @Inject constructor(var api: EndPoints) : BaseModel(), HomeContract.Model {
    override fun getNews(): Observable<Base<HomeList>> = api.getNews()


}
